package com.basic.business.order.mapper;

import com.basic.business.order.domain.TOrdersStatus;
import com.basic.common.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * 业务-订单主Mapper接口
 * 
 * @author zhaoxy_jn@163.com
 */
public interface TOrdersStatusMapper extends BaseMapper<TOrdersStatus> {

    /**
     * 更新订单信息
     */
    public void updateOrdersStatus(@Param("list") List<TOrdersStatus> statusList);

    /**
     * 补全信息
     */
    public List<TOrdersStatus> getOrderStatusInfo(@Param("list")List<TOrdersStatus> statusList);

    /**
     * 校验状态是MANUAL的订单平台单号是否重复
     */
    public List<String> checkTidIsUnique(@Param("list")List<TOrdersStatus> statusList, @Param("oldPst") String oldPst);

}
